package cn.yr.clock.domain.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * 
 * @author Lang
 * @email 1102076808@qq.com
 * @date 2021-09-25 11:13:41
 */
@Data
@TableName("record")
public class Record implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 打卡记录
	 */
	@TableId
	private Long recordId;
	/**
	 * 打卡时间
	 */
	private Date clockTime;
	/**
	 * 打卡记录图
	 */
	@NotNull(message = "请上传打卡记录图")
	private String img;
	/**
	 * 打卡备注
	 */
	private String note;
	/**
	 * 打卡人
	 */
	private Long clockUser;
	/**
	 * 第n次连续打卡次数
	 */
	private Integer continuousNum;

	private String remark;

	private Date createTime;

}
